/*
 * Copyright (c) 2021, 2022, yzfh.cn All rights reserved.
 *
 */
package com.ly.mybatisplus.pojo;

import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/**
 * @author yzfh
 * @Date 2022/03/05 星期六 9:25:37
 */
@Data
public class Product {

    private Long id;
    private String name;
    private Integer price;
    @Version  //标识乐观锁版本号字段
    private Integer version;

}
